<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="webjars/jquery/3.6.0/jquery.min.js" th:src="@{/webjars/jquery/3.6.0/jquery.min.js}"></script>
</head>
<body>
<h1 th:text="${msg}">欢迎访问SpringBoot!!!!!</h1>
<div th:object="${session.userInfo}">
    <label>邮箱：</label>
    <p th:text="*{email}">1245646@qq.com</p>
</div>

<table>
    <tr th:each="info : ${userInfos}">
        <td th:text="${info.email}">123123@qq.com</td>
    </tr>
</table>

</body>
</html>